package com.ytsky.hctechnologysys.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.sql.Timestamp;

/**
 * @author Dell
 */

@Data
public class Job {
    private int jId;

    @NotBlank(message = "应聘人员名称不能为空")
    @Size(max = 20, message = "应聘人员名称长度不能超过20字")
    private String jName;

    @NotBlank(message = "应聘人员性别不能为空")
    @Size(max = 2, message = "应聘人员性别长度不能超过2字")
    private String jSex;


    private int jAge;

    private String jPosition;

    @NotBlank(message = "应聘人员所学专业不能为空")
    @Size(max = 20, message = "应聘人员所学专业长度不能超过20字")
    private String jMajor;

    @NotBlank(message = "应聘人员工作经验不能为空")
    private String jExperience;

    @NotBlank(message = "应聘人员学历不能为空")
    @Size(max = 20, message = "应聘人员学历长度不能超过20字")
    private String jEducation;

    @NotBlank(message = "应聘人员毕业学校不能为空")
    @Size(max = 20, message = "应聘人员毕业学校长度不能超过20字")
    private String jSchool;

    @NotBlank(message = "应聘人员手机号不能为空")
    private String jPhone;


    private String jEmail;

    //    @NotBlank(message = "创建时间不能为空")
    private Timestamp jcreateDate;

    private String jDetail;

    @NotBlank(message = "请填写是否入库不能为空")
    @Size(max = 2, message = "长度不能超过2字")
    private String jwareHousing;

}
